package com.loong.seller.model;

import com.loong.common.mybatis.entity.BaseEntity;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "shop_contact")
public class ShopContact extends BaseEntity {
    /**
     * 联系方式类型
     */
    private Integer type;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 名称
     */
    private String name;

    /**
     * 联系方式的值
     */
    private String value;

    /**
     * 开始时间[为空表示24小时]
     */
    @Column(name = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @Column(name = "end_time")
    private Date endTime;

    /**
     * 店铺id
     */
    @Column(name = "shop_id")
    private Long shopId;
}